module.exports = {
  root: true,
  globals: {
    __dirname: true
  },
  env: {
    es6: true,
    node: true,
    browser: true
  },
  plugins: [],
  extends: ['standard', 'plugin:prettier/recommended', 'prettier'],
  rules: {
    'arrow-parens': 0,
    'generator-star-spacing': 0,
    'no-console': 'off',
    semi: [2, 'always'],
    'prettier/prettier': [
      'error',
      {
        printWidth: 80,
        semi: true,
        singleQuote: true,
        bracketSpacing: true,
        jsxBracketSameLine: false,
        htmlWhitespaceSensitivity: 'ignore',
        endOfLine: 'auto',
        trailingComma: 'none',
        arrowParens: 'avoid'
      }
    ]
  },
  parserOptions: {
    ecmaVersion: 2017,
    sourceType: 'module',
    parse: 'babel-eslint'
  }
};
